﻿@model IEnumerable<FinancePortal.Domain.Model.ActivitySchedule>

@{
    ViewBag.Title = "Home Page";
}

<h1>@ViewBag.Message</h1>

<ui><h3>Latest Activities:</h3>
    @if (Model.Count() > 0)
    {
        foreach (var item in Model)
        { 
            <li>@item.Activity.Name - End Date: @item.ToDate.ToShortDateString()</li>
        }
    }
    else
    {
        <li><strong>Nothing to Show</strong></li>
    }
</ui>
<script>
    $(document).ready(function () {
        $('#pageTitle').text('Home');
    });
//    var path = 'Url.Content("~/xml/menu-config.xml")';
//    var brand = new brand('Home', '', 'top', path);
//    createSectionTitleName();
//    createFontWidget('all', 'yes');
</script>
